<template>
  <div id="app">
    <el-container>
      <el-aside width="240px">
        <tab-nav></tab-nav>
      </el-aside>
      <el-main>
        <router-view />
      </el-main>
    </el-container>
  </div>
</template>

<script>
import TabNav from '@/views/TabNav.vue';
export default {
  components: {
    TabNav,
  },
};
</script>

<style lang="scss">
*{
  margin: 0;
  padding: 0;
}
#app {
  max-width: 1200px;
  min-width: 992px;
  height: 100vh;
  margin: 0 auto;
  background-color: WhiteSmoke;
  overflow-y: hidden;
  .el-aside {
    overflow: visible;
  }
}
body{
  overflow: hidden;
}
</style>
